package homework.Exercise2And3;

public class TestCompteur {
    public static void main(String[] args) {
        Counter counter = new Counter();
        System.out.print(counter.getValue()+" ");
        for (int i = 0; i < 10; i++) {
            counter.incrementer();
        }
        System.out.print(counter.getValue()+" ");
        for (int i = 0; i < 20; i++) {
            counter.decrementer();
        }
        System.out.print(counter.getValue()+" ");
    }
}
